@section('title') @parent 商品规格 @stop
@section('page_title')@parent
商品规格
@show

@section('content')


<div class="row">
    <div class="col-xs-12">
        <div class="box">
            <div class="box-header">
                <h3 class="box-title">{{ $spec->name }} - 添加商品规格选项</h3>
                
            </div><!-- /.box-header -->
            <form fole="form" method="post" action="{{ route('admin.product_spec.option.add', array('id'=>$spec->id) ) }}">
            <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
            <div class="box-body">
                <div class="form-group">
                    <label for="cat_title">选项名称</label>
                    <input type="text" name="data[name]" id="cat_title" placeholder="选项名称" value="" />
                </div>
                <div class="form-group">
                    <label for="cat_sort">选项值</label>
                    <input type="text" name="data[value]" id="cat_sort" placeholder="选项值" value="" />
                </div>
                <div class="form-group">
                    <label for="cat_parent">排序</label>
                    <input type="text" name="data[sort]" id="cat_sort" placeholder="排序" value="255" />
                </div>
                
            </div><!-- /.box-body -->
            <div class="box-footer">
                <button class="btn btn-primary" type="submit">Submit</button>
            </div>
            </form>
        </div><!-- /.box -->
    </div>
</div>


@stop